package com.java.common;

import com.java.mis.UserType;

public class SessionInfo {

	//ID
	private Long userId;
	//账号
	private String account;
	//角色
	private String role;
	//姓名
	private String userName;
	private UserType userType;
	public UserType getUserType() {
		return userType;
	}
	public void setUserType(UserType userType) {
		this.userType = userType;
	}
	//权限
	private String acl;
	//admin
//	private Boolean isAdmin;
	//deptAdmin
	private Boolean isDeptAdmin;
	
//	public Boolean getIsAdmin() {
//		return isAdmin;
//	}
//	public void setIsAdmin(Boolean isAdmin) {
//		this.isAdmin = isAdmin;
//	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAcl() {
		return acl;
	}
	public void setAcl(String acl) {
		this.acl = acl;
	}
	public Boolean getIsDeptAdmin() {
		return isDeptAdmin;
	}
	public void setIsDeptAdmin(Boolean isDeptAdmin) {
		this.isDeptAdmin = isDeptAdmin;
	}
	
}
